﻿namespace FileStorageCenter.Services.Services;

public interface IUploadQueueProvider<T>
    where T : class
{
    bool IsEmpty { get; }

    void Enqueue(T model);

    void EnqueueRange(IEnumerable<T> models);

    bool TryDequeue(out T model);
}